package com.itzjc.domain.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

/**
 * 请求封装类，封装所有的project请求的
 *
 * @className: RequestProject
 * @date: 2021-06-11 10:15
 **/
public class RequestProject {
    private String projectName;//项目名称
    private String owner;//试验联系人
    private String phone;//联系人电话
    private String description;//项目描述
    private String reason;//驳回理由
    @JsonProperty("start_time")
    private String startTime;//项目预约开始时间
    @JsonProperty("end_time")
    private String endTime;//项目预约结束时间
    private String token;
    private String agreementURL;
    private String methodURL;

   //空参、满参、set/get、toString

    @Override
    public String toString() {
        return "RequestProject{" +
                "projectName='" + projectName + '\'' +
                ", owner='" + owner + '\'' +
                ", phone='" + phone + '\'' +
                ", description='" + description + '\'' +
                ", reason='" + reason + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", token='" + token + '\'' +
                ", agreementURL='" + agreementURL + '\'' +
                ", methodURL='" + methodURL + '\'' +
                '}';
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getAgreementURL() {
        return agreementURL;
    }

    public void setAgreementURL(String agreementURL) {
        this.agreementURL = agreementURL;
    }

    public String getMethodURL() {
        return methodURL;
    }

    public void setMethodURL(String methodURL) {
        this.methodURL = methodURL;
    }

    public RequestProject(String projectName, String owner, String phone, String description, String reason, String startTime, String endTime, String token, String agreementURL, String methodURL) {
        this.projectName = projectName;
        this.owner = owner;
        this.phone = phone;
        this.description = description;
        this.reason = reason;
        this.startTime = startTime;
        this.endTime = endTime;
        this.token = token;
        this.agreementURL = agreementURL;
        this.methodURL = methodURL;
    }

    public RequestProject() {
    }
}
